package com.itheima.day02.Demo04;


public class Demo {
    public static void main(String[] args) {
        MyRunnable mr=new MyRunnable();
        Thread thread1=new Thread(mr,"窗口一");
        Thread thread2=new Thread(mr,"窗口二");
        thread1.start();
        thread2.start();

    }
}
